<notempty name="data">
  <switch name="modality">
    <case value="slide">
      <div id="slider" class="swipeSlide" style="overflow:hidden;width:100%">
        <ul>
          <volist name="data" id="vo">
            <li><a href="{$vo.link}" title="{$vo.title}"><img src="{$vo['image_src']}"></a></li>
          </volist>
        </ul>
        <notempty name="data.1">
        <div class="dot">
          <volist name="data" id="vo">
            <span></span>
          </volist>
         </div>
        </notempty>
      </div>
    </case>
    <case value="image">
      <a href="{$data.link}"><img src="{:get_image_thumb($data['image_src'], 1140, 300, 6, 390, 0)}" style="display: block" alt=""></a>
    </case>
  </switch>
</notempty>
